package com.oren.Thread.study.day02;

/**
 * Created by IntelliJ IDEA.
 * User: wangshiwei
 * Date: 2018/8/6
 * Time: 13:46
 * describe:
 */
public class ThreadB extends Thread {

    private HasSelPrivateNum numRef;

    public ThreadB(HasSelPrivateNum numRef){
        super();
        this.numRef=numRef;
    }

    @Override
    public void run(){
        super.run();
        numRef.addI("b");
    }

}
